﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Serialization;

namespace Edgar.Entities.MasterData
{
    public class Race
    {
        [XmlAttribute]
        public string Name { get; set; }
        [XmlAttribute]
        public int SpeedModification { get; set; }
        [XmlAttribute]
        public int AverageHeight { get; set; }
        [XmlAttribute]
        public int AverageWeight { get; set; }

        public List<AttributeModification> AttributeModifications { get; set; }
        public Karma Karma { get; set; }
        public List<RaceSkill> RaceSkills { get; set; }
    }

    public class AttributeModification
    {
        [XmlAttribute]
        public string AttributeName { get; set; }
        [XmlAttribute]
        public int Modificator { get; set; }
    }

    public class RaceSkill
    {
        [XmlAttribute]
        public string Description;
    }
}
